Ext.define('js.app.base.store.comboStore', {
	    extend: 'Ext.data.Store',

	    constructor: function(cfg) {
	        var me = this;
	        cfg = cfg || {};
	        me.callParent([Ext.apply({
	            fields: [cfg.valueField, cfg.displayField],
	            autoLoad: true,	            
	            proxy: {
	                type: 'ajax',
	                extraParams: {entity: cfg.entity},
	                url: 'read.htm',
	                reader: {
	        			type: 'json',
	        			root: 'data'
	                }            
	            }
	        }, cfg)]);
	    }
});	
